package com.asset.dispoal.file.repayment.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;
import java.util.List;

/**
 * @description:
 * @author: yf
 * @date: 2022-09-29 15:05:20
 */
@Data
public class SaveRepaymentInfoRequest {

    @ApiModelProperty("还款操作项id, repaymentId")
    private String id;

    @ApiModelProperty("案件id")
    private String caseId;

    /**
     * 应还本金
     */
    @ApiModelProperty("应还本金")
    private String principalAmount;
    /**
     * 应还利息
     */
    @ApiModelProperty("应还利息")
    private String interestAmount;
    /**
     * 应还罚息
     */
    @ApiModelProperty("应还罚息")
    private String litigationFines;

    @ApiModelProperty("应还诉讼费")
    private String litigationAmount;

    @ApiModelProperty("应还保全费")
    private String preservationAmount;

    /**
     * 已还本金
     */
    @ApiModelProperty(value = "已还本金")
    private String repaymentPrincipal;
    /**
     * 已还利息
     */
    @ApiModelProperty(value = "已还利息")
    private String repaymentInterest;
    /**
     * 已还罚息
     */
    @ApiModelProperty(value = "已还罚息")
    private String repaymentPenalty;

    @ApiModelProperty("已还诉讼费")
    private String repaymentLitigationAmount;

    @ApiModelProperty("已还保全费")
    private String repaymentPreservationAmount;

    /**
     * 本次还款本金
     */
    @ApiModelProperty("本次还款本金")
    private String currentRepaymentPrincipal;
    /**
     * 本次还款利息
     */
    @ApiModelProperty("本次还款利息")
    private String currentRepaymentInterest;
    /**
     * 本次还款罚息
     */
    @ApiModelProperty("本次还款罚息")
    private String currentRepaymentPenalty;

    @ApiModelProperty("本次还款诉讼费")
    private String currentRepaymentLitigationAmount;

    @ApiModelProperty("本次还款保全费")
    private String currentRepaymentPreservationAmount;

    @ApiModelProperty("是否还清 0:否 1:是")
    private String isPay;

    @ApiModelProperty("还款时间")
    private Date repaymentTime;

    @ApiModelProperty("还款类型 内部还款：法院划扣，直接还款;外部还款：合作机构等")
    private String repaymentType;

    @ApiModelProperty("还款公式id")
    private String formulaId;

    @ApiModelProperty("还款文件凭证")
    private List<MultipartFile> repayFiles;
}
